session variable in laravel

112

session variable in laravel -

$request->session()->put('key','value');

set session in laravel -

Session::put('variableName', $value);

session in laravel -

session()->regenerate();

Comments

Submit
0 Comments